﻿namespace Xc.DataAccess.Protocoals.WaterMeters.Models
{
    public enum DataSegment:ushort
    {
        Unknow=0x0000,
        /// <summary>
        /// 用户充值应答
        /// </summary>
        SetUserChange= 0x55AA,
        /// <summary>
        /// 设置表计底数
        /// </summary>
        SetMeterValue = 0x16A0,
        /// <summary>
        /// 修改上报周期和超时限制
        /// </summary>
        SetMeterUploadInterval = 0xD4B0,
        /// <summary>
        /// 多次卡充值应答
        /// </summary>
        SetMeterMutipleCharge = 0x13A0,
        /// <summary>
        /// 设置目标服务器IP地址
        /// </summary>
        SetMeterIpAddress = 0xD3B0,
        /// <summary>
        /// 设置囤积量和报警量应答
        /// </summary>
        SetAlarmVolume = 0x20A0,
        /// <summary>
        /// 恢复出厂设置表计应答
        /// </summary>
        RestoreFactory = 0xCCBB,
        /// <summary>
        /// 开阀控制应答
        /// </summary>
        OpenValve = 0x17A0,
        /// <summary>
        /// 设备主动上传
        /// </summary>
        MeterAutoUpload = 0x51AA,
        /// <summary>
        /// 读取表计数据
        /// </summary>
        GetMeterData = 0x1F90,
        /// <summary>
        /// 读取表计地址应答
        /// </summary>
        GetMeterAddress = 0x0A81,
        /// <summary>
        /// 关阀控制应答
        /// </summary>
        CloseValve = 0x17A0
    }
}
